import Vue from "vue";
const EventBus = new Vue();
EventBus.queue = []; // 添加事件队列

EventBus.$on("send-to-operate", (name) => {
  EventBus.queue.push(name); // 将事件存入队列
});

export default EventBus;